Blazor | ComponentOne
C1.DataCollection Assembly / C1.DataCollection Namespace / C1TreeDataCollection<T> Class / C1TreeDataCollection<T> Constructor / C1TreeDataCollection<T> Constructor(IEnumerable,IReadOnlyList<String>)
The source from which the tree is built.
The list of paths to build the tree.

In This Topic
    C1TreeDataCollection<T> Constructor(IEnumerable,IReadOnlyList<String>)
    In This Topic
    Initializes a new instance of the C1TreeDataCollection<T> class.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal source As IEnumerable, _
       ByVal childrenPaths As IReadOnlyList(Of String) _
    )
    public C1TreeDataCollection<T>( 
       IEnumerable source,
       IReadOnlyList<string> childrenPaths
    )

    Parameters

    source
    The source from which the tree is built.
    childrenPaths
    The list of paths to build the tree.
    See Also